package com.sfac.springBoot.config;

import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * personal demo
 **/

@Configuration
public class MybatisPageConfig {

    @Bean
    public PaginationInterceptor page(){
        return new PaginationInterceptor();
    }
}
